﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Orid.Management.Statistics.Tools.Decomposition.Model
{
    class ModelRoleLevel:ModelBase
    {
        /// <summary>
        /// 权限序号
        /// </summary>
        int roleListID;

        /// <summary>
        /// 权限ID
        /// </summary>
        int roleID;

        /// <summary>
        /// 父ID
        /// </summary>
        int? parentID; 

        /// <summary>
        /// 权限名
        /// </summary>
        string levelName;

        /// <summary>
        /// 是否是最终节点
        /// </summary>
        bool isLastNode;

        public int RoleListID
        {
            get { return roleListID; }
            set { roleListID = value; }
        }

        /// <summary>
        /// 权限ID
        /// </summary>
        public int RoleID
        {
            get { return roleID; }
            set { roleID = value; }
        }

        /// <summary>
        /// 父ID
        /// </summary>
        public int? ParentID
        {
            get { return parentID; }
            set { parentID = value; }
        }	

        /// <summary>
        /// 权限名
        /// </summary>
        public string LevelName
        {
            get { return levelName; }
            set { levelName = value; }
        }
        /// <summary>
        /// 是否是最终节点
        /// </summary>
        public bool IsLastNode
        {
            get { return isLastNode; }
            set { isLastNode = value; }
        }


    }
}
